{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/dmgibler/Dropbox/~Current Work/~Under revise and resubmit/~Accepted/protest-dependent cases/gibler_little_repdata/replication log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}20 Jan 2016, 12:24:59

{com}. do "/Users/dmgibler/Dropbox/~Current Work/~Under revise and resubmit/~Accepted/protest-dependent cases/gibler_little_repdata/table1repfile.do"
{txt}
{com}. **.do file for replicating Gibler and Little (2016)
. **"Heterogeneity in the Militarized Interstate Disputes (MIDs), 1816-2001: What Fatal MIDs Cannot Fix"
. **Political Science Research and Methods
. **
. **
. **
. **replication commands for Table 1
. **
. **
. **column 1, all MIDs, 1901-2001
. logit cwmid i.contiguous allied i.majormin cap_ratio i.jointdem i.jointaut peace_years* if year>1900&year<2002, cluster(dyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-13862.997}  
Iteration 1:{space 3}log pseudolikelihood = {res: -13634.77}  
Iteration 2:{space 3}log pseudolikelihood = {res:-10115.557}  
Iteration 3:{space 3}log pseudolikelihood = {res:-9976.6342}  
Iteration 4:{space 3}log pseudolikelihood = {res:-9968.3362}  
Iteration 5:{space 3}log pseudolikelihood = {res:-9968.3137}  
Iteration 6:{space 3}log pseudolikelihood = {res:-9968.3137}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}    606175
{txt}{col 51}Wald chi2({res}10{txt}){col 67}= {res}   2603.07
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-9968.3137{txt}{col 51}Pseudo R2{col 67}= {res}    0.2809

{txt}{ralign 78:(Std. Err. adjusted for {res:19339} clusters in dyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       cwmid{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
1.contiguous {c |}{col 14}{res}{space 2} 3.172531{col 26}{space 2}  .131972{col 37}{space 1}   24.04{col 46}{space 3}0.000{col 54}{space 4} 2.913871{col 67}{space 3} 3.431191
{txt}{space 6}allied {c |}{col 14}{res}{space 2} .1678095{col 26}{space 2} .1218995{col 37}{space 1}    1.38{col 46}{space 3}0.169{col 54}{space 4}-.0711092{col 67}{space 3} .4067282
{txt}1.majorminor {c |}{col 14}{res}{space 2} 1.881452{col 26}{space 2} .1397527{col 37}{space 1}   13.46{col 46}{space 3}0.000{col 54}{space 4} 1.607542{col 67}{space 3} 2.155363
{txt}{space 3}cap_ratio {c |}{col 14}{res}{space 2} .9817351{col 26}{space 2} .1758346{col 37}{space 1}    5.58{col 46}{space 3}0.000{col 54}{space 4} .6371056{col 67}{space 3} 1.326365
{txt}{space 2}1.jointdem {c |}{col 14}{res}{space 2}-.9656259{col 26}{space 2} .1267331{col 37}{space 1}   -7.62{col 46}{space 3}0.000{col 54}{space 4}-1.214018{col 67}{space 3}-.7172336
{txt}{space 2}1.jointaut {c |}{col 14}{res}{space 2}-.4731789{col 26}{space 2} .1031187{col 37}{space 1}   -4.59{col 46}{space 3}0.000{col 54}{space 4}-.6752877{col 67}{space 3}  -.27107
{txt}peace_years1 {c |}{col 14}{res}{space 2}-.2936757{col 26}{space 2} .0175982{col 37}{space 1}  -16.69{col 46}{space 3}0.000{col 54}{space 4}-.3281675{col 67}{space 3} -.259184
{txt}peace_years2 {c |}{col 14}{res}{space 2} 5.164419{col 26}{space 2} .4832623{col 37}{space 1}   10.69{col 46}{space 3}0.000{col 54}{space 4} 4.217243{col 67}{space 3} 6.111596
{txt}peace_years3 {c |}{col 14}{res}{space 2}  -9.8979{col 26}{space 2} 1.057985{col 37}{space 1}   -9.36{col 46}{space 3}0.000{col 54}{space 4}-11.97151{col 67}{space 3}-7.824288
{txt}peace_years4 {c |}{col 14}{res}{space 2} 5.207603{col 26}{space 2} .7418989{col 37}{space 1}    7.02{col 46}{space 3}0.000{col 54}{space 4} 3.753507{col 67}{space 3} 6.661698
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-4.718136{col 26}{space 2} .1204392{col 37}{space 1}  -39.17{col 46}{space 3}0.000{col 54}{space 4}-4.954193{col 67}{space 3} -4.48208
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. **column 2, fatal MIDs only, 1901-2001
. logit fatal i.contiguous allied i.majormin cap_ratio i.jointdem i.jointaut peace_years* if year>1900&year<2002, cluster(dyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-2929.9971}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2198.0798}  
Iteration 2:{space 3}log pseudolikelihood = {res:  -1968.84}  
Iteration 3:{space 3}log pseudolikelihood = {res:-1942.4662}  
Iteration 4:{space 3}log pseudolikelihood = {res:-1941.9771}  
Iteration 5:{space 3}log pseudolikelihood = {res:-1941.9738}  
Iteration 6:{space 3}log pseudolikelihood = {res:-1941.9738}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}    606175
{txt}{col 51}Wald chi2({res}10{txt}){col 67}= {res}   1482.68
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-1941.9738{txt}{col 51}Pseudo R2{col 67}= {res}    0.3372

{txt}{ralign 78:(Std. Err. adjusted for {res:19339} clusters in dyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    fatalmid{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
1.contiguous {c |}{col 14}{res}{space 2} 4.184905{col 26}{space 2} .2733108{col 37}{space 1}   15.31{col 46}{space 3}0.000{col 54}{space 4} 3.649226{col 67}{space 3} 4.720585
{txt}{space 6}allied {c |}{col 14}{res}{space 2} -.145479{col 26}{space 2} .1952331{col 37}{space 1}   -0.75{col 46}{space 3}0.456{col 54}{space 4}-.5281289{col 67}{space 3} .2371708
{txt}1.majorminor {c |}{col 14}{res}{space 2} .8654092{col 26}{space 2} .3096018{col 37}{space 1}    2.80{col 46}{space 3}0.005{col 54}{space 4} .2586008{col 67}{space 3} 1.472217
{txt}{space 3}cap_ratio {c |}{col 14}{res}{space 2} .6542457{col 26}{space 2} .3124401{col 37}{space 1}    2.09{col 46}{space 3}0.036{col 54}{space 4} .0418743{col 67}{space 3} 1.266617
{txt}{space 2}1.jointdem {c |}{col 14}{res}{space 2}-.8486288{col 26}{space 2} .2477941{col 37}{space 1}   -3.42{col 46}{space 3}0.001{col 54}{space 4}-1.334296{col 67}{space 3}-.3629613
{txt}{space 2}1.jointaut {c |}{col 14}{res}{space 2}-.3808409{col 26}{space 2} .2011778{col 37}{space 1}   -1.89{col 46}{space 3}0.058{col 54}{space 4} -.775142{col 67}{space 3} .0134603
{txt}peace_years1 {c |}{col 14}{res}{space 2}-.3254714{col 26}{space 2} .0333836{col 37}{space 1}   -9.75{col 46}{space 3}0.000{col 54}{space 4}-.3909021{col 67}{space 3}-.2600406
{txt}peace_years2 {c |}{col 14}{res}{space 2}   5.7967{col 26}{space 2} 1.006888{col 37}{space 1}    5.76{col 46}{space 3}0.000{col 54}{space 4} 3.823237{col 67}{space 3} 7.770164
{txt}peace_years3 {c |}{col 14}{res}{space 2}-11.12284{col 26}{space 2} 2.299176{col 37}{space 1}   -4.84{col 46}{space 3}0.000{col 54}{space 4}-15.62914{col 67}{space 3}-6.616534
{txt}peace_years4 {c |}{col 14}{res}{space 2}  5.82083{col 26}{space 2}  1.75152{col 37}{space 1}    3.32{col 46}{space 3}0.001{col 54}{space 4} 2.387914{col 67}{space 3} 9.253746
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-6.677027{col 26}{space 2}  .236886{col 37}{space 1}  -28.19{col 46}{space 3}0.000{col 54}{space 4}-7.141315{col 67}{space 3}-6.212739
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. **column 3, protest-dependent MIDs only, 1901-2001
. logit protestd i.contiguous allied i.majormin cap_ratio i.jointdem i.jointaut peace_years* if year>1900&year<2002, cluster(dyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-3026.8387}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2738.3093}  
Iteration 2:{space 3}log pseudolikelihood = {res: -2647.652}  
Iteration 3:{space 3}log pseudolikelihood = {res:-2638.1823}  
Iteration 4:{space 3}log pseudolikelihood = {res:  -2638.17}  
Iteration 5:{space 3}log pseudolikelihood = {res:  -2638.17}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}    606175
{txt}{col 51}Wald chi2({res}10{txt}){col 67}= {res}    781.39
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}  -2638.17{txt}{col 51}Pseudo R2{col 67}= {res}    0.1284

{txt}{ralign 82:(Std. Err. adjusted for {res:19339} clusters in dyad)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}protestdependent{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}1.contiguous {c |}{col 18}{res}{space 2} 1.960305{col 30}{space 2} .2550652{col 41}{space 1}    7.69{col 50}{space 3}0.000{col 58}{space 4} 1.460387{col 71}{space 3} 2.460224
{txt}{space 10}allied {c |}{col 18}{res}{space 2} .2304333{col 30}{space 2}  .307587{col 41}{space 1}    0.75{col 50}{space 3}0.454{col 58}{space 4}-.3724261{col 71}{space 3} .8332928
{txt}{space 4}1.majorminor {c |}{col 18}{res}{space 2} 1.967522{col 30}{space 2}  .206098{col 41}{space 1}    9.55{col 50}{space 3}0.000{col 58}{space 4} 1.563578{col 71}{space 3} 2.371467
{txt}{space 7}cap_ratio {c |}{col 18}{res}{space 2} .9726668{col 30}{space 2} .2855039{col 41}{space 1}    3.41{col 50}{space 3}0.001{col 58}{space 4} .4130895{col 71}{space 3} 1.532244
{txt}{space 6}1.jointdem {c |}{col 18}{res}{space 2}-.9057088{col 30}{space 2}  .221757{col 41}{space 1}   -4.08{col 50}{space 3}0.000{col 58}{space 4}-1.340344{col 71}{space 3}-.4710732
{txt}{space 6}1.jointaut {c |}{col 18}{res}{space 2} -.500685{col 30}{space 2}  .193681{col 41}{space 1}   -2.59{col 50}{space 3}0.010{col 58}{space 4}-.8802928{col 71}{space 3}-.1210772
{txt}{space 4}peace_years1 {c |}{col 18}{res}{space 2}-.2620237{col 30}{space 2} .0339139{col 41}{space 1}   -7.73{col 50}{space 3}0.000{col 58}{space 4}-.3284937{col 71}{space 3}-.1955536
{txt}{space 4}peace_years2 {c |}{col 18}{res}{space 2} 4.654764{col 30}{space 2} .9657978{col 41}{space 1}    4.82{col 50}{space 3}0.000{col 58}{space 4} 2.761835{col 71}{space 3} 6.547693
{txt}{space 4}peace_years3 {c |}{col 18}{res}{space 2}-8.939345{col 30}{space 2} 2.126497{col 41}{space 1}   -4.20{col 50}{space 3}0.000{col 58}{space 4} -13.1072{col 71}{space 3}-4.771488
{txt}{space 4}peace_years4 {c |}{col 18}{res}{space 2} 4.734792{col 30}{space 2} 1.498021{col 41}{space 1}    3.16{col 50}{space 3}0.002{col 58}{space 4} 1.798725{col 71}{space 3} 7.670858
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.343438{col 30}{space 2} .2065094{col 41}{space 1}  -30.72{col 50}{space 3}0.000{col 58}{space 4}-6.748189{col 71}{space 3}-5.938687
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. **column 4, all MIDs except protest-dependent cases, 1901-2001
. logit cwmid_no i.contiguous allied i.majormin cap_ratio i.jointdem i.jointaut peace_years* if year>1900&year<2002, cluster(dyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-11793.365}  
Iteration 1:{space 3}log pseudolikelihood = {res:-9332.2816}  
Iteration 2:{space 3}log pseudolikelihood = {res:-8484.7413}  
Iteration 3:{space 3}log pseudolikelihood = {res:-8256.9431}  
Iteration 4:{space 3}log pseudolikelihood = {res:-8253.7817}  
Iteration 5:{space 3}log pseudolikelihood = {res:-8253.7796}  
Iteration 6:{space 3}log pseudolikelihood = {res:-8253.7796}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}    606175
{txt}{col 51}Wald chi2({res}10{txt}){col 67}= {res}   2543.81
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-8253.7796{txt}{col 51}Pseudo R2{col 67}= {res}    0.3001

{txt}{ralign 82:(Std. Err. adjusted for {res:19339} clusters in dyad)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}cwmid_noprotestd{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}1.contiguous {c |}{col 18}{res}{space 2} 3.352387{col 30}{space 2} .1366581{col 41}{space 1}   24.53{col 50}{space 3}0.000{col 58}{space 4} 3.084542{col 71}{space 3} 3.620232
{txt}{space 10}allied {c |}{col 18}{res}{space 2} .1634111{col 30}{space 2} .1254014{col 41}{space 1}    1.30{col 50}{space 3}0.193{col 58}{space 4}-.0823712{col 71}{space 3} .4091933
{txt}{space 4}1.majorminor {c |}{col 18}{res}{space 2} 1.812341{col 30}{space 2} .1505489{col 41}{space 1}   12.04{col 50}{space 3}0.000{col 58}{space 4} 1.517271{col 71}{space 3} 2.107412
{txt}{space 7}cap_ratio {c |}{col 18}{res}{space 2} .9496184{col 30}{space 2} .1829753{col 41}{space 1}    5.19{col 50}{space 3}0.000{col 58}{space 4} .5909934{col 71}{space 3} 1.308243
{txt}{space 6}1.jointdem {c |}{col 18}{res}{space 2}-.9530806{col 30}{space 2} .1377619{col 41}{space 1}   -6.92{col 50}{space 3}0.000{col 58}{space 4}-1.223089{col 71}{space 3}-.6830721
{txt}{space 6}1.jointaut {c |}{col 18}{res}{space 2}-.4580367{col 30}{space 2}  .109372{col 41}{space 1}   -4.19{col 50}{space 3}0.000{col 58}{space 4} -.672402{col 71}{space 3}-.2436715
{txt}{space 4}peace_years1 {c |}{col 18}{res}{space 2}-.2928993{col 30}{space 2} .0190386{col 41}{space 1}  -15.38{col 50}{space 3}0.000{col 58}{space 4}-.3302142{col 71}{space 3}-.2555844
{txt}{space 4}peace_years2 {c |}{col 18}{res}{space 2} 5.105525{col 30}{space 2} .5281688{col 41}{space 1}    9.67{col 50}{space 3}0.000{col 58}{space 4} 4.070333{col 71}{space 3} 6.140717
{txt}{space 4}peace_years3 {c |}{col 18}{res}{space 2}-9.762012{col 30}{space 2} 1.159435{col 41}{space 1}   -8.42{col 50}{space 3}0.000{col 58}{space 4}-12.03446{col 71}{space 3}-7.489561
{txt}{space 4}peace_years4 {c |}{col 18}{res}{space 2} 5.104998{col 30}{space 2} .8172855{col 41}{space 1}    6.25{col 50}{space 3}0.000{col 58}{space 4} 3.503148{col 71}{space 3} 6.706848
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-4.977122{col 30}{space 2} .1286372{col 41}{space 1}  -38.69{col 50}{space 3}0.000{col 58}{space 4}-5.229246{col 71}{space 3}-4.724998
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/dmgibler/Dropbox/~Current Work/~Under revise and resubmit/~Accepted/protest-dependent cases/gibler_little_repdata/replication log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}20 Jan 2016, 12:26:27
{txt}{.-}
{smcl}
{txt}{sf}{ul off}